<?php /* Smarty version 2.6.14, created on 2012-11-15 20:21:19
         compiled from admin_levels_musicsettings.tpl */
?><?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'math', 'admin_levels_musicsettings.tpl', 11, false),array('modifier', 'count', 'admin_levels_musicsettings.tpl', 11, false),)), $this);
?><?php
SELanguage::_preload_multi(288,282,4000001,4000005,191,4000006,4000007,4000008,4000009,4000010,4000011,4000012,4000013,4000014,4000015,4000016,4000017,4000018,4000030,4000049,4000050,4000019,4000020,4000024,4000025,4000026,4000027,4000028,4000091,4000092,4000093,4000094,173,285,286,287);
SELanguage::load();
?><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'admin_header.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>


<h2><?php echo sprintf(SELanguage::_get(288), $this->_tpl_vars['level_name']); ?></h2>
<?php echo SELanguage::_get(282); ?>

<table cellspacing='0' cellpadding='0' width='100%' style='margin-top: 20px;'>
<tr>
<td class='vert_tab0'>&nbsp;</td>
<td valign='top' class='pagecell' rowspan='<?php echo smarty_function_math(array('equation' => "x+5",'x' => count($this->_tpl_vars['level_menu'])), $this);?>
'>

  <h2><?php echo SELanguage::_get(4000001); ?></h2>
  <?php echo SELanguage::_get(4000005); ?>
  <br />
  <br />

  <?php if (! empty ( $this->_tpl_vars['result'] )): ?>
    <div class='success'><img src='../images/success.gif' class='icon' border='0'> <?php echo SELanguage::_get(191); ?></div>
  <?php endif; ?>

  <?php if (! empty ( $this->_tpl_vars['is_error'] )): ?>
    <div class='error'><img src='../images/error.gif' class='icon' border='0'> <?php if (is_numeric ( $this->_tpl_vars['is_error'] )): 
 echo SELanguage::_get($this->_tpl_vars['is_error']); 
 else: 
 echo $this->_tpl_vars['is_error']; 
 endif; ?></div>
  <?php endif; ?>

  <form action='admin_levels_musicsettings.php' method='POST'>
  
  <table cellpadding='0' cellspacing='0' width='600'>
    <tr>
      <td class='header'><?php echo SELanguage::_get(4000006); ?></td>
    </tr>
    <tr>
      <td class='setting1'><?php echo SELanguage::_get(4000007); ?></td>
    </tr>
    <tr>
      <td class='setting2'>
        <table cellpadding='0' cellspacing='0'>
          <tr>
            <td><input type='radio' name='level_music_allow' id='music_allow_1' value='1'<?php if ($this->_tpl_vars['music_allow']): ?> CHECKED<?php endif; ?>>&nbsp;</td>
            <td><label for='music_music_1'><?php echo SELanguage::_get(4000008); ?></label></td>
          </tr>
          <tr>
            <td><input type='radio' name='level_music_allow' id='music_allow_0' value='0'<?php if (! $this->_tpl_vars['music_allow']): ?> CHECKED<?php endif; ?>>&nbsp;</td>
            <td><label for='music_music_0'><?php echo SELanguage::_get(4000009); ?></label></td>
          </tr>
        </table>
    </td>
    </tr>
  </table>
  <br />
  
  
  <table cellpadding='0' cellspacing='0' width='600'>
    <tr>
      <td class='header'><?php echo SELanguage::_get(4000010); ?></td>
    </tr>
    <tr>
      <td class='setting1'>
      <?php echo SELanguage::_get(4000011); ?>
      </td>
    </tr>
    <tr>
      <td class='setting2'>
        <table cellpadding='0' cellspacing='0'>
          <tr>
            <td><input type='text' name='level_music_maxnum' value='<?php echo $this->_tpl_vars['music_maxnum']; ?>
' maxlength='3' size='5'>
            &nbsp;<?php echo SELanguage::_get(4000012); ?>
          </tr>
        </table>
      </td>
    </tr>
  </table>
  <br />
  
  
  <table cellpadding='0' cellspacing='0' width='600'>
  <tr>
    <td class='header'><?php echo SELanguage::_get(4000013); ?></td>
  </tr>
  <tr>
    <td class='setting1'><?php echo SELanguage::_get(4000014); ?></td>
  </tr>
  <tr>
    <td class='setting2'>
      <textarea name='level_music_exts' rows='2' cols='40' class='text' style='width: 100%;'><?php echo $this->_tpl_vars['music_exts_value']; ?>
</textarea>
    </td>
  </tr>
  </table>
  <br />
  
  
  <table cellpadding='0' cellspacing='0' width='600'>
    <tr>
      <td class='header'><?php echo SELanguage::_get(4000015); ?></td>
    </tr>
    <tr>
      <td class='setting1'><?php echo SELanguage::_get(4000016); ?></td>
    </tr>
    <tr>
      <td class='setting2'>
        <textarea name='level_music_mimes' rows='2' cols='40' class='text' style='width: 100%;'><?php echo $this->_tpl_vars['music_mimes_value']; ?>
</textarea>
      </td>
    </tr>
  </table>
  <br />
  

  <table cellpadding='0' cellspacing='0' width='600'>
  <tr>
    <td class='header'><?php echo SELanguage::_get(4000017); ?></td>
  </tr>
  <tr>
    <td class='setting1'><?php echo SELanguage::_get(4000018); ?></td>
  </tr>
  <tr>
    <td class='setting2'>
      <select name='level_music_storage' class='text'>
        <option value='102400'<?php if ($this->_tpl_vars['music_storage'] == 102400): ?> SELECTED<?php endif; ?>><?php echo sprintf(SELanguage::_get(4000030), 100); ?></option>
        <option value='204800'<?php if ($this->_tpl_vars['music_storage'] == 204800): ?> SELECTED<?php endif; ?>><?php echo sprintf(SELanguage::_get(4000030), 200); ?></option>
        <option value='512000'<?php if ($this->_tpl_vars['music_storage'] == 512000): ?> SELECTED<?php endif; ?>><?php echo sprintf(SELanguage::_get(4000030), 500); ?></option>
        <option value='1048576'<?php if ($this->_tpl_vars['music_storage'] == 1048576): ?> SELECTED<?php endif; ?>><?php echo sprintf(SELanguage::_get(4000049), 1); ?></option>
        <option value='2097152'<?php if ($this->_tpl_vars['music_storage'] == 2097152): ?> SELECTED<?php endif; ?>><?php echo sprintf(SELanguage::_get(4000049), 2); ?></option>
        <option value='3145728'<?php if ($this->_tpl_vars['music_storage'] == 3145728): ?> SELECTED<?php endif; ?>><?php echo sprintf(SELanguage::_get(4000049), 3); ?></option>
        <option value='4194304'<?php if ($this->_tpl_vars['music_storage'] == 4194304): ?> SELECTED<?php endif; ?>><?php echo sprintf(SELanguage::_get(4000049), 4); ?></option>
        <option value='5242880'<?php if ($this->_tpl_vars['music_storage'] == 5242880): ?> SELECTED<?php endif; ?>><?php echo sprintf(SELanguage::_get(4000049), 5); ?></option>
        <option value='6291456'<?php if ($this->_tpl_vars['music_storage'] == 6291456): ?> SELECTED<?php endif; ?>><?php echo sprintf(SELanguage::_get(4000049), 6); ?></option>
        <option value='7340032'<?php if ($this->_tpl_vars['music_storage'] == 7340032): ?> SELECTED<?php endif; ?>><?php echo sprintf(SELanguage::_get(4000049), 7); ?></option>
        <option value='8388608'<?php if ($this->_tpl_vars['music_storage'] == 8388608): ?> SELECTED<?php endif; ?>><?php echo sprintf(SELanguage::_get(4000049), 8); ?></option>
        <option value='9437184'<?php if ($this->_tpl_vars['music_storage'] == 9437184): ?> SELECTED<?php endif; ?>><?php echo sprintf(SELanguage::_get(4000049), 9); ?></option>
        <option value='10485760'<?php if ($this->_tpl_vars['music_storage'] == 10485760): ?> SELECTED<?php endif; ?>><?php echo sprintf(SELanguage::_get(4000049), 10); ?></option>
        <option value='15728640'<?php if ($this->_tpl_vars['music_storage'] == 15728640): ?> SELECTED<?php endif; ?>><?php echo sprintf(SELanguage::_get(4000049), 15); ?></option>
        <option value='20971520'<?php if ($this->_tpl_vars['music_storage'] == 20971520): ?> SELECTED<?php endif; ?>><?php echo sprintf(SELanguage::_get(4000049), 20); ?></option>
        <option value='26214400'<?php if ($this->_tpl_vars['music_storage'] == 26214400): ?> SELECTED<?php endif; ?>><?php echo sprintf(SELanguage::_get(4000049), 25); ?></option>
        <option value='52428800'<?php if ($this->_tpl_vars['music_storage'] == 52428800): ?> SELECTED<?php endif; ?>><?php echo sprintf(SELanguage::_get(4000049), 50); ?></option>
        <option value='78643200'<?php if ($this->_tpl_vars['music_storage'] == 78643200): ?> SELECTED<?php endif; ?>><?php echo sprintf(SELanguage::_get(4000049), 75); ?></option>
        <option value='104857600'<?php if ($this->_tpl_vars['music_storage'] == 104857600): ?> SELECTED<?php endif; ?>><?php echo sprintf(SELanguage::_get(4000049), 100); ?></option>
        <option value='209715200'<?php if ($this->_tpl_vars['music_storage'] == 209715200): ?> SELECTED<?php endif; ?>><?php echo sprintf(SELanguage::_get(4000049), 200); ?></option>
        <option value='314572800'<?php if ($this->_tpl_vars['music_storage'] == 314572800): ?> SELECTED<?php endif; ?>><?php echo sprintf(SELanguage::_get(4000049), 300); ?></option>
        <option value='419430400'<?php if ($this->_tpl_vars['music_storage'] == 419430400): ?> SELECTED<?php endif; ?>><?php echo sprintf(SELanguage::_get(4000049), 400); ?></option>
        <option value='524288000'<?php if ($this->_tpl_vars['music_storage'] == 524288000): ?> SELECTED<?php endif; ?>><?php echo sprintf(SELanguage::_get(4000049), 500); ?></option>
        <option value='629145600'<?php if ($this->_tpl_vars['music_storage'] == 629145600): ?> SELECTED<?php endif; ?>><?php echo sprintf(SELanguage::_get(4000049), 600); ?></option>
        <option value='734003200'<?php if ($this->_tpl_vars['music_storage'] == 734003200): ?> SELECTED<?php endif; ?>><?php echo sprintf(SELanguage::_get(4000049), 700); ?></option>
        <option value='838860800'<?php if ($this->_tpl_vars['music_storage'] == 838860800): ?> SELECTED<?php endif; ?>><?php echo sprintf(SELanguage::_get(4000049), 800); ?></option>
        <option value='943718400'<?php if ($this->_tpl_vars['music_storage'] == 943718400): ?> SELECTED<?php endif; ?>><?php echo sprintf(SELanguage::_get(4000049), 900); ?></option>
        <option value='1073741824'<?php if ($this->_tpl_vars['music_storage'] == 1073741824): ?> SELECTED<?php endif; ?>><?php echo sprintf(SELanguage::_get(4000050), 1); ?></option>
        <option value='2147483648'<?php if ($this->_tpl_vars['music_storage'] == 2147483648): ?> SELECTED<?php endif; ?>><?php echo sprintf(SELanguage::_get(4000050), 2); ?></option>
        <option value='5368709120'<?php if ($this->_tpl_vars['music_storage'] == 5368709120): ?> SELECTED<?php endif; ?>><?php echo sprintf(SELanguage::_get(4000050), 5); ?></option>
        <option value='10737418240'<?php if ($this->_tpl_vars['music_storage'] == 10737418240): ?> SELECTED<?php endif; ?>><?php echo sprintf(SELanguage::_get(4000050), 10); ?></option>
        <option value='0'<?php if ($this->_tpl_vars['music_storage'] == 0): ?> SELECTED<?php endif; ?>> </option>
      </select>
    </td>
  </tr>
  </table>
  <br />


  <table cellpadding='0' cellspacing='0' width='600'>
  <tr>
    <td class='header'><?php echo SELanguage::_get(4000019); ?></td>
  </tr>
  <tr>
    <td class='setting1'><?php echo SELanguage::_get(4000020); ?></td>
  </tr>
  <tr>
    <td class='setting2'>
      <input type='text' class='text' size='5' name='level_music_maxsize' maxlength='6' value='<?php echo $this->_tpl_vars['music_maxsize']; ?>
'> <?php echo sprintf(SELanguage::_get(4000030), ''); ?>
    </td>
  </tr>
  </table>
  <br />
  
  
  <table cellpadding='0' cellspacing='0' width='600'>
  <tr>
    <td class='header'><?php echo SELanguage::_get(4000024); ?></td>
  </tr>
  <tr>
    <td class='setting1'><?php echo SELanguage::_get(4000025); ?></td>
  </tr>
  <tr>
    <td class='setting2'>
      <table cellpadding='0' cellspacing='0'>
        <tr>
          <td><input type='radio' name='level_music_allow_skins' id='music_allow_1_skins' value='1'<?php if ($this->_tpl_vars['music_allow_skins']): ?> CHECKED<?php endif; ?>>&nbsp;</td>
          <td><label for='music_allow_1_skins'><?php echo SELanguage::_get(4000026); ?></label></td>
        </tr>
        <tr>
          <td><input type='radio' name='level_music_allow_skins' id='music_allow_0_skins' value='0'<?php if (! $this->_tpl_vars['music_allow_skins']): ?> CHECKED<?php endif; ?>>&nbsp;</td>
          <td><label for='music_allow_0_skins'><?php echo SELanguage::_get(4000027); ?></label></td>
        </tr>
      </table>  
    </td>
  </tr>
  <tr>
    <td class='setting1'><?php echo SELanguage::_get(4000028); ?></td>
  </tr>
  <tr>
    <td class='setting2'>
      <table cellpadding='0' cellspacing='0'>
        <tr>
          <td>
            <select name='level_xpfskin_default' class='text'>
            <?php unset($this->_sections['skin_loop']);
$this->_sections['skin_loop']['name'] = 'skin_loop';
$this->_sections['skin_loop']['loop'] = is_array($_loop=$this->_tpl_vars['music_skins']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['skin_loop']['show'] = true;
$this->_sections['skin_loop']['max'] = $this->_sections['skin_loop']['loop'];
$this->_sections['skin_loop']['step'] = 1;
$this->_sections['skin_loop']['start'] = $this->_sections['skin_loop']['step'] > 0 ? 0 : $this->_sections['skin_loop']['loop']-1;
if ($this->_sections['skin_loop']['show']) {
    $this->_sections['skin_loop']['total'] = $this->_sections['skin_loop']['loop'];
    if ($this->_sections['skin_loop']['total'] == 0)
        $this->_sections['skin_loop']['show'] = false;
} else
    $this->_sections['skin_loop']['total'] = 0;
if ($this->_sections['skin_loop']['show']):

            for ($this->_sections['skin_loop']['index'] = $this->_sections['skin_loop']['start'], $this->_sections['skin_loop']['iteration'] = 1;
                 $this->_sections['skin_loop']['iteration'] <= $this->_sections['skin_loop']['total'];
                 $this->_sections['skin_loop']['index'] += $this->_sections['skin_loop']['step'], $this->_sections['skin_loop']['iteration']++):
$this->_sections['skin_loop']['rownum'] = $this->_sections['skin_loop']['iteration'];
$this->_sections['skin_loop']['index_prev'] = $this->_sections['skin_loop']['index'] - $this->_sections['skin_loop']['step'];
$this->_sections['skin_loop']['index_next'] = $this->_sections['skin_loop']['index'] + $this->_sections['skin_loop']['step'];
$this->_sections['skin_loop']['first']      = ($this->_sections['skin_loop']['iteration'] == 1);
$this->_sections['skin_loop']['last']       = ($this->_sections['skin_loop']['iteration'] == $this->_sections['skin_loop']['total']);
?>
            <option value='<?php echo $this->_tpl_vars['music_skins'][$this->_sections['skin_loop']['index']]['xspfskin_id']; ?>
'<?php if ($this->_tpl_vars['music_skins'][$this->_sections['skin_loop']['index']]['xspfskin_id'] == $this->_tpl_vars['music_skin_default']): ?> SELECTED<?php endif; ?>><?php echo $this->_tpl_vars['music_skins'][$this->_sections['skin_loop']['index']]['xspfskin_title']; ?>
</option>
            <?php endfor; endif; ?>
            </select>
          </td>
        </tr>
      </table>
    </td>
  </tr>  
  </table>
  <br />
  
  
  <table cellpadding='0' cellspacing='0' width='600'>
  <tr>
    <td class='header'><?php echo SELanguage::_get(4000091); ?></td>
  </tr>
  <tr>
    <td class='setting1'><?php echo SELanguage::_get(4000092); ?></td>
  </tr>
  <tr>
    <td class='setting2'>
      <table cellpadding='0' cellspacing='0'>
        <tr>
          <td><input type='radio' name='level_music_allow_downloads' id='music_allow_1_downloads' value='1'<?php if ($this->_tpl_vars['music_allow_downloads']): ?> CHECKED<?php endif; ?>>&nbsp;</td>
          <td><label for='music_allow_1_downloads'><?php echo SELanguage::_get(4000093); ?></label></td>
        </tr>
        <tr>
          <td><input type='radio' name='level_music_allow_downloads' id='music_allow_0_downloads' value='0'<?php if (! $this->_tpl_vars['music_allow_downloads']): ?> CHECKED<?php endif; ?>>&nbsp;</td>
          <td><label for='music_allow_0_downloads'><?php echo SELanguage::_get(4000094); ?></label></td>
        </tr>
      </table>  
    </td>
  </tr>
  </table>
  <br />
  
  <?php $this->assign('langBlockTemp', SE_Language::_get(173));


  ?><input type='submit' class='button' value='<?php echo $this->_tpl_vars['langBlockTemp']; ?>
'><?php 

  ?>
  <input type='hidden' name='task' value='dosave'>
  <input type='hidden' name='level_id' value='<?php echo $this->_tpl_vars['level_id']; ?>
'>
  </form>

</td>
</tr>


<tr><td width='100' nowrap='nowrap' class='vert_tab'><div style='width: 100px;'><a href='admin_levels_edit.php?level_id=<?php echo $this->_tpl_vars['level_id']; ?>
'><?php echo SELanguage::_get(285); ?></a></div></td></tr>
<tr><td width='100' nowrap='nowrap' class='vert_tab' style='border-top: none;'><div style='width: 100px;'><a href='admin_levels_usersettings.php?level_id=<?php echo $this->_tpl_vars['level_id']; ?>
'><?php echo SELanguage::_get(286); ?></a></div></td></tr>
<tr><td width='100' nowrap='nowrap' class='vert_tab' style='border-top: none;'><div style='width: 100px;'><a href='admin_levels_messagesettings.php?level_id=<?php echo $this->_tpl_vars['level_id']; ?>
'><?php echo SELanguage::_get(287); ?></a></div></td></tr>
<?php $_from = $this->_tpl_vars['global_plugins']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['plugin_k'] => $this->_tpl_vars['plugin_v']):

 unset($this->_sections['level_page_loop']);
$this->_sections['level_page_loop']['name'] = 'level_page_loop';
$this->_sections['level_page_loop']['loop'] = is_array($_loop=$this->_tpl_vars['plugin_v']['plugin_pages_level']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['level_page_loop']['show'] = true;
$this->_sections['level_page_loop']['max'] = $this->_sections['level_page_loop']['loop'];
$this->_sections['level_page_loop']['step'] = 1;
$this->_sections['level_page_loop']['start'] = $this->_sections['level_page_loop']['step'] > 0 ? 0 : $this->_sections['level_page_loop']['loop']-1;
if ($this->_sections['level_page_loop']['show']) {
    $this->_sections['level_page_loop']['total'] = $this->_sections['level_page_loop']['loop'];
    if ($this->_sections['level_page_loop']['total'] == 0)
        $this->_sections['level_page_loop']['show'] = false;
} else
    $this->_sections['level_page_loop']['total'] = 0;
if ($this->_sections['level_page_loop']['show']):

            for ($this->_sections['level_page_loop']['index'] = $this->_sections['level_page_loop']['start'], $this->_sections['level_page_loop']['iteration'] = 1;
                 $this->_sections['level_page_loop']['iteration'] <= $this->_sections['level_page_loop']['total'];
                 $this->_sections['level_page_loop']['index'] += $this->_sections['level_page_loop']['step'], $this->_sections['level_page_loop']['iteration']++):
$this->_sections['level_page_loop']['rownum'] = $this->_sections['level_page_loop']['iteration'];
$this->_sections['level_page_loop']['index_prev'] = $this->_sections['level_page_loop']['index'] - $this->_sections['level_page_loop']['step'];
$this->_sections['level_page_loop']['index_next'] = $this->_sections['level_page_loop']['index'] + $this->_sections['level_page_loop']['step'];
$this->_sections['level_page_loop']['first']      = ($this->_sections['level_page_loop']['iteration'] == 1);
$this->_sections['level_page_loop']['last']       = ($this->_sections['level_page_loop']['iteration'] == $this->_sections['level_page_loop']['total']);
?>
  <tr><td width='100' nowrap='nowrap' class='vert_tab' style='border-top: none;<?php if ($this->_tpl_vars['plugin_v']['plugin_pages_level'][$this->_sections['level_page_loop']['index']]['page'] == $this->_tpl_vars['page']): ?> border-right: none;<?php endif; ?>'><div style='width: 100px;'><a href='<?php echo $this->_tpl_vars['plugin_v']['plugin_pages_level'][$this->_sections['level_page_loop']['index']]['link']; ?>
?level_id=<?php echo $this->_tpl_vars['level_info']['level_id']; ?>
'><?php echo SELanguage::_get($this->_tpl_vars['plugin_v']['plugin_pages_level'][$this->_sections['level_page_loop']['index']]['title']); ?></a></div></td></tr>
<?php endfor; endif; 
 endforeach; endif; unset($_from); ?>

<tr>
<td class='vert_tab0'>
  <div style='height: 800px;'>&nbsp;</div>
</td>
</tr>
</table>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'admin_footer.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>